-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
3.3.1
-
Code
-
Classes
- PackageRuleProcessor
Total Complexity |
165 |
Dependencies |
22 |
Dependents |
1 |
Total lines |
968 |
Lines of code |
588 |
Logical lines of code |
426 |
Comment lines |
178 |
Methods |
19 |
Properties |
15 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
applyRangeDiscounts() |
D |
11 |
90 |
324 |
applyProductAdjustment() |
C |
37 |
24 |
69 |
isProductMatched() |
A |
45 |
13 |
41 |
sortItems() |
A |
54 |
8 |
22 |
process() |
S |
50 |
6 |
30 |
isRuleMatchedCart() |
S |
64 |
3 |
11 |
__construct() |
S |
57 |
2 |
16 |
addFreeProducts() |
S |
64 |
3 |
10 |
applyChangesToCart() |
S |
64 |
3 |
10 |
applyToCart() |
S |
60 |
2 |
14 |
addGifts() |
S |
72 |
2 |
6 |
createSets() |
S |
65 |
2 |
9 |
checkConditions() |
S |
80 |
1 |
3 |
applyCartAdjustments() |
S |
80 |
1 |
3 |
getStatus() |
S |
82 |
1 |
3 |
checkLimits() |
S |
80 |
1 |
3 |
collectSets() |
S |
66 |
1 |
8 |
getRule() |
S |
82 |
1 |
3 |
getLastExecTime() |
S |
81 |
1 |
3 |